package com.hzy.alibaba;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication(scanBasePackages = {"com.hzy.alibaba"},
        exclude = {DataSourceAutoConfiguration.class, TransactionAutoConfiguration.class})
@EnableAspectJAutoProxy
@EnableAsync
@EnableDiscoveryClient
@MapperScan(basePackages ={"com.hzy.alibaba.mapper"})
public class HzyAlibabaGeneratorApplication {

    public static void main(String[] args) {
        SpringApplication.run(HzyAlibabaGeneratorApplication.class, args);
    }

}
